<?php
/* @var $this UserController */
/* @var $dataProvider CActiveDataProvider */

$this->breadcrumbs=array(
	'Pengguna',
);

$this->menu=array(
	array('label'=>'Create User', 'url'=>array('create')),
);
?>

<h1>Pengguna</h1>

<?php $this->widget('bootstrap.widgets.TbGridView', array(
	'id'=>'user-grid',
	'dataProvider'=>$model->search(),
	'filter'=>$model,
	'columns'=>array(
		array(
			'header'=>'No',
			'value'=>'$this->grid->dataProvider->pagination->currentPage * 
				$this->grid->dataProvider->pagination->pageSize + ($row+1)',
			'htmlOptions'=>array('width'=>'3%','style'=>'text-align:center'),
		),
		'username',
		array(
			'class'=>'CButtonColumn',
		),
	),
)); ?>
